/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab_2;

/**
 *
 * @author bellis
 */
public class Print implements DBInterface {

    @Override
    public boolean connect(String address, String userName, String password) {
        System.out.println(address + " " + userName + " " + password);
        return false;
    }

    @Override
    public void disconnect() {
        System.out.println("disconnect");
    }

    @Override
    public boolean isConnected() {
        System.out.println("isConnected");
        return false;
    }

    @Override
    public String getName(String id) {
        System.out.println(id);
        return id;
    }
}
